using System;
using System.Collections.Generic;
using System.Text;

namespace TagTool.Devices.DataStructures
{
    public class Orientation
    {
        private int altitude;
        private int azimuth;
        private int twist;

        public Orientation()
        {
        }

        public Orientation(int altitude, int azimuth, int twist)
        {
            this.altitude = altitude;
            this.azimuth = azimuth;
            this.twist = twist;
        }

        public int Altitude
        {
            get
            {
                return altitude;
            }
            set
            {
                altitude = value;
            }
        }

        public int Azimuth
        {
            get
            {
                return azimuth;
            }
            set
            {
                azimuth = value;
            }
        }

        public int Twist
        {
            get
            {
                return twist;
            }
            set
            {
                twist = value;
            }
        }

        public Orientation Clone()
        {
            return new Orientation(altitude, azimuth, twist);
        }

        public override string ToString()
        {
            return string.Format("Altitude: {0}, Azimuth: {1}, Twist: {2}", altitude, azimuth, twist);
        }
    }
}
